package com.hpc.Service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
@Service
@FeignClient(name = "userRelated")
public interface OpenFeignService1 {
    @RequestMapping(method = RequestMethod.GET,value = "/ts/user/rpc/getUserInfoByArticleId")
    public String getUserInfoByArticleId(@RequestParam("articleId") String articleId);
    @RequestMapping(method = RequestMethod.GET,value = "/ts/user/rpc/getUserInfoOfComment")
    public String getUserInfoOfComment(@RequestParam("userIds") String userIds);
}
